package java68_5;

public class SCoreTest2 {
    public static void main(String[] args) {
        Teacher teacher=new Teacher();
        teacher.name="左冷禅";
        float java=56,database=90,csharp=91;
        System.out.println("这个学生,java:"+java+",db:"+database+",c#:"+csharp);
        System.out.println(">>>>>>>>>>>>>>>>>>>>>>>>>>");
        float avg=teacher.getAvg2(java,csharp,database);
        System.out.println("------------------计算完成-----------");
        System.out.println("这个学生,java:"+java+",db:"+database+",c#:"+csharp);
        System.out.println("平均是:"+avg);
    }
}
